import QtQuick 2.0
import org.qtproject.qtquick 1.0


Rectangle {
    id: container
    color: "transparent"

    property string imageSource: "qrc:/images/resource/replay-hdpi"
    //+ ApplicationInfo.dpi
                                 + "/ic_action_refresh.png";

    Image {
        id: image
        anchors.fill: parent
        source: container.imageSource
        ParallelAnimation {
            running: true
            NumberAnimation { target: image; property: "opacity"; from: 0.0; to: 1.0; duration: 200 }
            NumberAnimation { target: image; property: "rotation"; from: 0; to: 360; loops: Animation.Infinite; duration: 1200 }
        }
    }
}
